import "LotroLCD.LotroLCD.UI";

LotroLCDPlaceholderWindow = class(LotroLCDWindow);
function LotroLCDPlaceholderWindow:Constructor(parent, settings, plugin)
	Turbine.UI.Window.Constructor(self);
	
	-- Keep track of parent and base plugin object
	self.parent = parent;
	self.plugin = plugin;
	
	-- Associate settings
	self.settings = settings;
	
	self:SetVisible(false);
	self:SetOpacity(self.settings.opacity);
	self:SetText("Placeholder");
	self:SetPosition(self.settings.x + 29, self.settings.y + 3 );
	self:SetSize(107, 29);
	self.phbutton = Turbine.UI.Button();
	self.phbutton:SetParent(self);
	self.phbutton:SetPosition( 0, 0 );
	self.phbutton:SetSize( 107, 29 );
	self.phbutton:SetBackground("LotroLCD/LotroLCD/Resources/LotroLCDButton.tga");
	self.phbutton.MouseClick = function( sender, args )
		self.parent:SetVisible(true);
		self:SetVisible(false);
	end
end
